package org.jeecg.modules.lab.exam.paper.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.lab.exam.entity.LabExamPaperQuestion;

import java.util.List;

/**
 * @Description: 考试记录考题表
 * @Author: jeecg-boot
 * @Date:   2023-08-30
 * @Version: V1.0
 */
public interface ILabExamPaperQuestionService extends IService<LabExamPaperQuestion> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<LabExamPaperQuestion>
	 */
	public List<LabExamPaperQuestion> selectByMainId(String mainId);

	/**
	 * 更新试题答案
	 *
	 */
	public void updateQuAnswere(String paperId, String quId, String answer);


}
